﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

abstract class DeventCenter
{

    public delegate void DelCallBack(Object data);

    public abstract void AddListener(String eventType, DelCallBack handler);

    public abstract void RemoveListener(String eventType, DelCallBack handler);

    public abstract void RemoveAllListener();

    public abstract void DispatchEvent(String eventType, Object data);
    
}
